#include <unistd.h>
#include <stdio.h>
#include <string.h>

#include "header.h"

#ifndef __UTIL__H__
#define __UTIL__H__


void vc4FrameBodyToVc4FrameHeader(vc4FrameBody_t body, vc4FrameHead_t *pHeader, uint16_t logicalID, uint16_t physicalID,
                                uint16_t SQ, uint16_t frameLen, uint16_t frameNum, int vcType) ;
long getVC4BodyLength();
long getVC12BodyLength();
long getVC4HeaderLength();
long getVC12HeaderLength();

#endif  //!__UTIL__H__
